package model;

import java.util.LinkedList;

public class ProductionLine {
	public LinkedList<Term> terms;
	
	public ProductionLine() {
		terms = new LinkedList<Term>();
	}
	
	public void addTerm(Term term) {
		terms.add(term);
	}
	
	public LinkedList<Term> getTerms() {
		return terms;
	}
	
	public Term getTermAtIndex(int index) {
		return terms.get(index);
	}
	
	public Term getFirstTerm() {
		return terms.get(0);
	}
}
